package com.axend.aerosense.base.bean;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;


import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
public class ChooseDeviceBean extends BaseBean {

    private List<DeviceInfo> radarTypeInfo;

    @Data
    @EqualsAndHashCode(callSuper = true)
    @AllArgsConstructor
    @Entity
    public static class DeviceInfo extends BaseBean {
        @PrimaryKey
        @NonNull
        private String radarType;
        @ColumnInfo
        private String radarTypeUrl;
        @ColumnInfo
        private String fileUri;//存储的本地绝对路径

    }

}
